import request from '@/utils/request'

// 商机列表
export function businessLists(params?: Record<string, any>) {
    return request.get({ url: '/business/list', params })
}

// 商机详情
export function businessDetail(params: Record<string, any>) {
    return request.get({ url: '/business/detail', params })
}

// 商机新增
export function businessAdd(params: Record<string, any>) {
    return request.post({ url: '/business/add', params })
}

// 商机编辑
export function businessEdit(params: Record<string, any>) {
    return request.post({ url: '/business/edit', params })
}

// 商机删除
export function businessDelete(params: Record<string, any>) {
    return request.post({ url: '/business/del', params })
}
